Update Rust crate nostr to 0.38.0 - autoclosed#22
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.37.0->0.38.0Release Notes
rust-nostr/nostr (nostr)
v0.38.0Compare Source
Summary
Full NIP42 support for SDK and relay builder, negentropy support and read/write policy plugins for relay builder,
NIP35 support, better logs and docs, performance improvements, bugs fix and more!
Breaking changes
FromBech32::from_bech32method signature ([Yuki Kishimoto])NostrURI::from_nostr_urimethod signature ([Yuki Kishimoto])keymodule ([Yuki Kishimoto])EventIdparsing methods ([Yuki Kishimoto])RelayUrl::parse([Yuki Kishimoto])MachineReadablePrefix::parsemethod to use&strdirectly ([Yuki Kishimoto])RelayMessage::Noticevariant ([Yuki Kishimoto])35_000([Yuki Kishimoto])NostrEventsDatabase::save_eventmethod signature ([Yuki Kishimoto])Option<String>withStringinOutput::failed([Yuki Kishimoto])fetch_*andstream_*methods signature ([Yuki Kishimoto])EventId,Coordinate,PublicKeyandSecretKey([Yuki Kishimoto])Changed
async-utilityto 0.3,async-wsocketto 0.12 andatomic-destructorto 0.3 ([Yuki Kishimoto])RelayMessage::NegErrvariant ([Yuki Kishimoto])EventBuilderorUnsignedEventas rumor in NIP59 functions ([Yuki Kishimoto] and [arkanoider])fmt::Debug,SendandSyncforNostrSigner([Yuki Kishimoto])Tags::indexesinno_std([Yuki Kishimoto])RelayMessagedocs ([Yuki Kishimoto])EventBuilder::comment([Yuki Kishimoto])EventBuilder::text_note_replyandEventBuilder::comment([Yuki Kishimoto])etag i no root is set inEventBuilder::text_note_reply([Yuki Kishimoto])BTreeCappedSet([Yuki Kishimoto])async-utilityto spawn blocking tasks ([Yuki Kishimoto])nostr-ndbto 0.5 ([Yuki Kishimoto])PingTrackerand improve relay ping management ([Yuki Kishimoto])Errorvariants ([Yuki Kishimoto])MAX_RETRY_INTERVALto 60 secs ([Yuki Kishimoto])FilterOptionstoReqExitPolicy([Yuki Kishimoto])fmt::Debug,SendandSyncforAuthUrlHandler([Yuki Kishimoto])NostrConnectRemoteSigner([Yuki Kishimoto])weblnto 0.4 ([Yuki Kishimoto])fmt::Debug,SendandSyncforNostrZapper([Yuki Kishimoto])SendEventOutputandSubscribeOutput([Yuki Kishimoto])Added
Tags::challengemethod ([Yuki Kishimoto])RelayUrl::is_local_addr([Yuki Kishimoto])TagKind::kconstructor ([Yuki Kishimoto])IntoIteratorforTag([Yuki Kishimoto])Kind::is_addressableandADDRESSABLE_RANGE([Yuki Kishimoto])Events([Yuki Kishimoto])SaveEventStatusenum ([Yuki Kishimoto])ReceiverStream([Yuki Kishimoto])SubscribeAutoCloseOptions::idle_timeout([Yuki Kishimoto])Connection::embedded_tor_with_path([Yuki Kishimoto])NostrConnect::status([Yuki Kishimoto])NostrConnectSignerActions::approve([Yuki Kishimoto])Fixed
EventBuilder::text_note_reply([Yuki Kishimoto])defaultis reserved in dart ([J. Azad EMERY])Removed
NegentropyErrorCode([Yuki Kishimoto])lru,thiserrorandtracingdeps ([Yuki Kishimoto])thiserrorandtracingdeps ([Yuki Kishimoto])thiserrorandtracingdeps ([Yuki Kishimoto])thiserrordep ([Yuki Kishimoto])thiserrorandtokio-streamdeps ([Yuki Kishimoto])RelayOptions::retry_intervalthiserrorandnwcdeps ([Yuki Kishimoto])thiserrordep and unnecessaryError::Zappervariant ([Yuki Kishimoto])MockRelay([Yuki Kishimoto])RawEventandRawEventRecord([Yuki Kishimoto])NostrConnectRemoteSigner([Yuki Kishimoto])RelayPool([Yuki Kishimoto])Deprecated
PARAMETERIZED_REPLACEABLE_RANGE,Kind::ParameterizedReplaceableandKind::is_parameterized_replaceable([Yuki Kishimoto])JobRequest,JobResult,Regular,ReplaceableandEphemeralkind variants ([Yuki Kishimoto])FilterOptions([Yuki Kishimoto])timeoutoption ([Yuki Kishimoto])Options::difficultyandClient::update_difficulty([Yuki Kishimoto])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.